Allow undoing edits that change content model if top
authorBrian Wolff <bawolff+wn@gmail.com>
Thu, 8 Sep 2016 22:39:03 +0000 (22:39 +0000)
committerKunal Mehta <legoktm@member.fsf.org>
Fri, 9 Sep 2016 03:19:40 +0000 (20:19 -0700)
commit386bed1ffd9da7eb5830e0c2386e5dc79e261dfe
treee644468cd51822be0895aee8abf19ee5364a84c9
parent94a5679cbea9afd83b9ca13539b7a2fa20a61309
Allow undoing edits that change content model if top

This allows people to revert content model changes
using the undo button, provided that we are undoing
the topmost edit (Otherwise it may get confusing
if you try to undo an edit in the middle of the
history that changes content model).

Bug: T145044
Change-Id: Ic528f65d0dc581c4e241a22f19c512e02aeaa9e7
includes/EditPage.php
includes/content/ContentHandler.php